﻿using BCEntity.TMS.Order.OrderGoodsChecklist;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BCData.TMS.Order.OrderGoodsChecklist
{
    public interface IOrderGoodsChecklistData
    {
        Task<bool> DeleteAsync(long orderGoodsChecklistId);
        Task<OrderGoodsChecklistEntity> GetEntityAsync(long orderGoodsChecklistId);
        Task<(IEnumerable<OrderGoodsChecklistEntity>, int)> GetListAsync(int pageIndex, int pageSize);
        Task<OrderGoodsChecklistEntity> InsertAsync(OrderGoodsChecklistEntity entity);
        Task<OrderGoodsChecklistEntity> UpdateAsync(OrderGoodsChecklistEntity entity);
    }
}